<?php
$baseUrl = Yii::app()->params['baseUrl'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="language" content="en" />

        <!-- blueprint CSS framework -->
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
        <!--[if lt IE 8]>
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
        <![endif]-->

        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />        
        <script type="text/javascript" src="<?php echo Yii::app()->baseUrl . '/js/jquery-1.7.min.js' ?>"></script>        
        <script type="text/javascript" src="<?php echo Yii::app()->baseUrl . '/js/tinymce/tinymce.min.js' ?>"></script>        
        <script type="text/javascript" src="<?php echo Yii::app()->baseUrl . '/js/jquery-ui-1.9.2.custom.min.js' ?>"></script>
        <link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">        
        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
    </head>

    <body>

        <div class="container" id="page">

            <div id="header">
                <div id="logo">Tool Admin Quản lý</div>
            </div><!-- header -->

            <div id="mainmenu">
                
                <nav>
                    <ul>
                        <li><a href="<?php echo Yii::app()->createUrl('admin'); ?>">Trang chủ</a></li>                        
                        <li><a href="<?php echo Yii::app()->createUrl('admin/game'); ?>">Game</a></li>                                                                                                                                                   
                        <li><a href="<?php echo Yii::app()->createUrl('admin/post'); ?>">Bài viết</a></li>
                        <li><a href="<?php echo Yii::app()->createUrl('admin/banner'); ?>">Banner</a></li>
                        <li><a href="<?php echo Yii::app()->createUrl('/site/logout') ?>">Thoát( <?php echo User::model()->getCurrentUserName() ?> )</a></li>                        
                    </ul>
                </nav>  
            </div><!-- mainmenu -->

            <?php
            $this->widget('zii.widgets.CBreadcrumbs', array(
                'links' => $this->breadcrumbs,
            ));
            ?><!-- breadcrumbs -->

                <?php echo $content; ?>

            <div id="footer">
                Copyright &copy; <?php echo date('Y'); ?> by Game.<br/>
                All Rights Reserved.<br/>                
            </div><!-- footer -->

        </div><!-- page -->

    </body>
</html>